<?php 
$sql="select * from rubros where RubroHabilitada=1 and RubroTipo=1 order by RubroNombre asc";
$res=cons_sql_up($sql);
?>

<div class="btn-group-vertical">
<?php while($reg=mysql_fetch_array($res)):?>

      <button type="button" class="btn btn-default" onClick=" window.location.href='catalogo.php?rub=<?php echo utf8_encode($reg['RubroId'])?>' ">
	 <span class="badge pull-right"><?php echo total_artistas_rubro($reg['RubroId'])?></span>
	  <?php echo utf8_encode($reg['RubroNombre'])?></a>

<?php endwhile ?>
 </div>
 
 <?php include "cloud.php"?>
 

 

 
